package org.cbg.panel;

import java.awt.CardLayout;

import javax.swing.JPanel;

/**
 * 藏宝阁 我的藏宝阁 卡片布局
 * 
 * @author Administrator
 * 
 */
public class TraslationMyMainCardJpanel extends JPanel {


    private CardLayout cardLayout;
    // 我的订单
    private TraslationMyMainMyorderJpanel traslationMyMainMyorderJpanel;
    // 指定购买
    private TraslationMyMainZhidinggoumaiJpanel traslationMyMainZhidinggoumaiJpanel;
    // 我的货物
    private TraslationMyMainMygoodsJpanel traslationMyMainMygoodsJpanel;

    public TraslationMyMainCardJpanel() {

        cardLayout = new CardLayout();
        this.setLayout(cardLayout);
        this.setBounds(0, 27, 760, 460);
        this.setOpaque(false);

        traslationMyMainMyorderJpanel = new TraslationMyMainMyorderJpanel();
        traslationMyMainZhidinggoumaiJpanel = new TraslationMyMainZhidinggoumaiJpanel();
        traslationMyMainMygoodsJpanel = new TraslationMyMainMygoodsJpanel();
        this.add(traslationMyMainMyorderJpanel, "myorder");
        this.add(traslationMyMainZhidinggoumaiJpanel, "zhidinggoumai");
        this.add(traslationMyMainMygoodsJpanel, "mygoods");

    }

    public CardLayout getCardLayout() {
        return cardLayout;
    }

    public void setCardLayout(CardLayout cardLayout) {
        this.cardLayout = cardLayout;
    }

    public TraslationMyMainMyorderJpanel getTraslationMyMainMyorderJpanel() {
        return traslationMyMainMyorderJpanel;
    }

    public void setTraslationMyMainMyorderJpanel(TraslationMyMainMyorderJpanel traslationMyMainMyorderJpanel) {
        this.traslationMyMainMyorderJpanel = traslationMyMainMyorderJpanel;
    }

    public TraslationMyMainZhidinggoumaiJpanel getTraslationMyMainZhidinggoumaiJpanel() {
        return traslationMyMainZhidinggoumaiJpanel;
    }

    public void setTraslationMyMainZhidinggoumaiJpanel(
            TraslationMyMainZhidinggoumaiJpanel traslationMyMainZhidinggoumaiJpanel) {
        this.traslationMyMainZhidinggoumaiJpanel = traslationMyMainZhidinggoumaiJpanel;
    }

    public TraslationMyMainMygoodsJpanel getTraslationMyMainMygoodsJpanel() {
        return traslationMyMainMygoodsJpanel;
    }

    public void setTraslationMyMainMygoodsJpanel(TraslationMyMainMygoodsJpanel traslationMyMainMygoodsJpanel) {
        this.traslationMyMainMygoodsJpanel = traslationMyMainMygoodsJpanel;
    }

}
